package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_smtp
 * 
 * @author ruoyi
 * @date 2025-01-14
 */
public class SysSmtp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String email;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String username;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String password;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String smtp;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String port;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String emailFrom;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String emailTo;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String emailBody;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date insertdate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer state;

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setSmtp(String smtp) 
    {
        this.smtp = smtp;
    }

    public String getSmtp() 
    {
        return smtp;
    }

    public void setPort(String port) 
    {
        this.port = port;
    }

    public String getPort() 
    {
        return port;
    }

    public void setEmailFrom(String emailFrom) 
    {
        this.emailFrom = emailFrom;
    }

    public String getEmailFrom() 
    {
        return emailFrom;
    }

    public void setEmailTo(String emailTo) 
    {
        this.emailTo = emailTo;
    }

    public String getEmailTo() 
    {
        return emailTo;
    }

    public void setEmailBody(String emailBody) 
    {
        this.emailBody = emailBody;
    }

    public String getEmailBody() 
    {
        return emailBody;
    }

    public void setInsertdate(Date insertdate) 
    {
        this.insertdate = insertdate;
    }

    public Date getInsertdate() 
    {
        return insertdate;
    }

    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("email", getEmail())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("smtp", getSmtp())
            .append("port", getPort())
            .append("emailFrom", getEmailFrom())
            .append("emailTo", getEmailTo())
            .append("emailBody", getEmailBody())
            .append("insertdate", getInsertdate())
            .append("state", getState())
            .toString();
    }
}
